package com.example.demo.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.example.demo.annotation.ID;
import com.example.demo.annotation.Table;

import java.io.Serializable;

/**
 * (Student)实体类
 *
 * @author makejava
 * @since 2020-05-31 10:39:49
 */
@Table("stu.student")
public class Student implements Serializable {

    @ID
    private Integer id;
    @ExcelProperty("学号")
    private String code;//学号
    @ExcelProperty("姓名")
    private String name;//姓名
    @ExcelProperty("班级")
    private String className;//班级
    @ExcelProperty("备注")
    private String remark;//备注
    /**
     * 班级id
     */
    private Integer classId;
    /**
     * 手机号
     */
    private String mobile;
    /**
     * 性别：1 男，0 女
     */
    private String gender;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

}